package game.adm.dao.factory;

import game.adm.dao.GameTypeDAO;
import game.adm.dao.impl.GameTypeDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class GameTypeFactory {

	private static GameTypeFactory factory = new GameTypeFactory();

	public static void setFactory(GameTypeFactory factory) {
		GameTypeFactory.factory = factory;
	}

	public static GameTypeFactory getFactory() {
		return factory;
	}

	public GameTypeDAO getGameTypeDAO() throws ProjectXSystemException {
		return new GameTypeDAOImpl();
	}
}
